package com.system.weirdor.search.repository;


import com.system.weirdor.search.index.EsCorporate;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface EsCorporateRepository extends ElasticsearchRepository<EsCorporate, String> {
    List<EsCorporate> findByName(String name);
}
